<%--
  Created by IntelliJ IDEA.
  User: 754165242
  Date: 2022/3/7
  Time: 20:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--
        获取字符串
            ${域对象中key}
        获取对象
            ${域对象中key.属性}
        获取map值
            ${域对象中key.map中的key}
        获取集合值
            ${域对象中的key.get(index)}
        获取数组值
            ${域对象中的key[索引]}
    --%>
<%--获取字符串--%>
${msg} <br>
<%--获取对象--%>
${u1.uid}  ${u1.name} ${u1.hobby} <br>
<%-- 获取map值--%>
${m1.it001}   ${m1.it002} <br>
<%--获取map中的user值--%>
${hmap.ujiuye1.uid}  ${hmap.ujiuye1.name} ${hmap.ujiuye1.hobby}
${hmap.ujiuye2.uid}  ${hmap.ujiuye2.name} ${hmap.ujiuye2.hobby} <br>
<%--获取集合中的值--%>
${list.get(0)}  ${list.get(1)}  ${list.get(2)} <br>
${list[0]}  ${list[1]}  ${list[2]}
<%--获取集合中对象--%>
${ulist[0].uid}  ${ulist[0].name}  ${ulist[0].hobby}    ${ulist[1].uid}  ${ulist[1].name}  ${ulist[1].hobby}
<%--获取数组中元素--%>
${arr[0]}  ${arr[1]}  ${arr[2]}
</body>
</html>
